const mongoose = require('mongoose')
mongoose.connect('mongodb+srv://1692721624:26YazdcZTtDlTd9z@cluster0.rrhjz.mongodb.net/chong').then(() => {
    console.log('连接成功')
}).catch((err) => {
    console.log('连接失败', err)
})

module.exports = {mongoose}